/**
 * 机构管理
 */

import request from "@/utils/request.js"


// 获取类型管理左侧树列表
export function getOrganizationTreeListApi() {
  return request({
    url: '/examination/organization/organizationTreeData',
    method: 'POST',
  })
}

// 获取分类列表 / 搜索
export function getOrganizationListApi(params) {
  return request({
    url: '/examination/organization/list',
    method: 'POST',
    params
  })
}

// 新增
export function addOrganizationListApi(params) {
  return request({
    url: '/examination/organization/add',
    method: 'POST',
    params
  })
}

// 编辑
export function editOrganizationListApi(params) {
  return request({
    url: '/examination/organization/edit',
    method: 'POST',
    params
  })
}

// 删除
export function delOrganizationListApi(params) {
  return request({
    url: '/examination/organization/remove',
    method: 'POST',
    params
  })
}